module.exports = {
  checkLogin: function checkLogin(req, res, next) {
    /*if (!req.session.user) { 
      res.send({"error":"not logined in"});
    }*/
    next();
  },

  checkNotLogin: function checkNotLogin(req, res, next) {
    /*if (req.session.user) {
    	res.send({"error":"has logined in"});
    }*/
    next();
  }
};
